/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package day01;

import java.util.Scanner;

/**
 *
 * @author Administrator
 */
public class BaiTapTest {
    public static void main(String[] args){
        BaiTap bt = new BaiTap();
        Scanner s = new Scanner(System.in);
        
        int n;
        do {
           System.out.println("Please enter n:");
           n = s.nextInt();           
        } while(n<=0);  
        System.out.println("n! = " + bt.giaithua(n));        
    
    }
    
}
